*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
    scroll-behavior: smooth;
    font-family: "Poppins", sans-serif;
    box-sizing: border-box;
}

:root{
    --bg-color: #121212;
    --second-color: #202020;
    --main-color: #219ebc;
    --text-color: #ffffff;
    --other-color: #8b8a91;
    --alt-color: #4b4b51;
    --ann-color: #c7c6d3;

    --h1-font: 4.5rem;
    --h2-font: 2.5rem;
    --p-font: 1.1rem;
}

body{
    background: var(--bg-color);
    color: var(--text-color);
    scroll-snap-align: start;
}


/*--------------------------------------------------------------- Header Start --------------------------------------------------------------------*/


header{
    position: fixed;
    top: 0;
    right: 0;
    padding: 20px 14%;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .6s ease;
}

.menulist a{
    display: inline-block;
    font-size: 20px;
    font-weight: 300;
    color: var(--other-color);
    margin: 0 30px;
    transition: all .6s ease;
}


.menulist a:hover{
    color: var(--text-color);
    transform: translateY(-10px);
}


.menulist a.active{
    color: var(--text-color);
    
}


.menu-right{
    display: flex;
    align-items: center;
}


.menu-btn{
    display: inline-block;
    padding: 15px 25px;
    background: linear-gradient(135deg, #141E30 0%, #243B55 100% );
    color: #DDDBF1;
    font-size: 20px;
    font-weight: 500;
    border-radius: 13px;
    transition: all .6s ease;
}


.menu-btn:hover{
    background: linear-gradient(135deg, #243B55,   #141E30 100% );
    letter-spacing: 0.2px;

}


#menu-icon{
    z-index: 10001;
    font-size: 40px;
    margin-left: 25px;
    cursor: pointer;
    display: none;
}


@media (max-width: 1024px) {
    header {
        padding: 15px 5%;
        justify-content: space-between;
    }

    .menulist {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 80px;
        right: 0;
        background-color: #fff;
        width: 100%;
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }

    .menulist a {
        font-size: 18px;
        margin: 10px 0;
    }

    .menu-right {
        display: flex;
        align-items: center;
    }

    #menu-icon {
        display: block;
    }

    .menu-open .menulist {
        display: flex;
    }
}

header.sticky {
    padding: 15px 14%;
    background: transparent;
    backdrop-filter: blur(25px);
}


/*--------------------------------------------------------------- Header End --------------------------------------------------------------------*/



/*----------------------------------------Home start  -------------------------------------------------------------------------------------------*/
  
                                      
section {
    padding: 110px 14% 90px;
}

.background-video {
    margin-top: 30px;
    opacity: 0.5;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    top: 50%;
    left: 50%;
    width: 100%; 
    height: auto;
    max-height: 80%;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
    border-radius: 10px;
}

.background-video-desktop {
    display: block;
}

.background-video-mobile {
    display: none;
}

.video-just-play {

    position: relative;
    width: 100%;
    height: 30vh;
    overflow: hidden; 
    margin-top: -98px;

}

.background-video- {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.background-video- video{
    width: 100%;
}
                     
.home{
   height: 100vh;
   width: 100%;
   background-size: cover;
   background-position: center;
   display: flex;
   align-items: center;
   justify-content: flex-start;
}


.h-line{
    display: inline-block;
    padding: 10px 14px;
    background: transparent;
    border: 1px solid var(--alt-color);
    font-size: var(--p-font);
    font-weight: 500;
    color: var(--ann-color);
    border-radius: 1.7rem;
    transition: all .6s ease;
}

.h-line:hover{
    color: var(--text-color);
}

.home-text h1{
    margin: auto;
    font-size: var(--h1-font);
}

.home-text h1 span{
    background: -webkit-linear-gradient(135deg, #ADD7F6 0%,#DDDBF1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.home-text h4{
    font-size: 22px;
    font-weight: 500;
    margin-top: auto;
    margin-left: auto;
}


.social-icons a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    background: transparent;
    border: 1px solid var(--alt-color);
    border-radius: 1.7rem;
    color: var(--ann-color);
    font-size: 18px;
    margin-right: 12px;
    margin-bottom: 12px;
    margin-top: 5px;
    transition: all .6s ease;

}

.social-icons a:hover{
    transform: scale(1.06) rotate3d(0, 0, 1, 360deg);
    color: var(--text-color);
}

/*---------------------------------------- Botton Start -------------------------------------------------------------------------------------------*/

                               
.h-btn{
    display: flex;
    align-items: center;
}

.btn1{
    display: inline-flex;
    padding: 18px 35px;
    background: transparent;
    border: 1px solid var(--alt-color);
    color: var(--text-color);
    font-size: 18px;
    font-weight: 500;
    border-radius: 17px;
    margin-right: 20px;
    transition: all .7s ease;
}


.btn1:hover{
    letter-spacing: 2px;
}

.btn2{
    display: inline-flex;
    padding: 18px 35px;
    background: linear-gradient(135deg, #141E30 0%, #243B55 100% );
    border: 1px solid var(--alt-color);
    color: #DDDBF1;
    font-size: 18px;
    font-weight: 300;
    border-radius: 17px;
    margin-right: 20px;
    transition: all .35s ease;
}

.btn2:hover{
    letter-spacing: 2px;
    background: linear-gradient(135deg, #243B55,   #141E30 100% );
}


/*---------------------------------------- Botton End -------------------------------------------------------------------------------------------*/

/*---------------------------------------- Container About Start -------------------------------------------------------------------------------------------*/

  .container-about {
    display: flex;
    width: 100%;
    height: 900px;
    background-color: #1c2833;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-top: 200px;
  }

  .image-section-about {
    flex: 1;
    position: relative;
    overflow: hidden;
  }

  .image-section-about img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
  }

  .image-section-about::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to left, rgba(28, 40, 51, 1), rgba(0, 0, 0, 0));
  }

  .content-section-about {
    flex: 1;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  
  .content-section-about h2 {
    margin-bottom: 50px;
    font-size: 35px;
    color: white;
  }

  .highlight-about {
  background: -webkit-linear-gradient(135deg, #ADD7F6 0%,#DDDBF1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  }

  .content-section-about p {
    line-height: 1.8;
    font-size: 26px;
  }

  .mark {
  background-color: #ADD7F6; 
  color: black; 
  padding: 2px 4px; 
  border-radius: 20px;
  }   
  
  @keyframes slideIn {
    0% {
        transform: translateX(100px);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}


.container-about {
    opacity: 0;
    transform: translateX(100px); 
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}


.container-about.active {
    animation: slideIn 0.6s ease-out forwards;
}
                              
                            
.about{
    background-color: var(--second-color);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1rem;
}


.about-img img{
    width: 100%;
    height: 700px;
    max-width: 550px;
    border-radius: 20%;
    object-fit: cover;
    background: -webkit-linear-gradient(135deg, #141E30 0%, #243B55 100% ); 
    border: 5px solid var(--main);
}


.about-text h2 {
    margin: 22px 0;
    font-size: 24px;
}

.about-text h2 span{
    background: -webkit-linear-gradient(135deg, #ADD7F6 0%,#DDDBF1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text h5{
    font-size: 22px;
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 30px;
}


.about-text p {
    font-size: var(--p-font);
    font-weight: 500;
    line-height: 33px;
    color: var(--ann-color);
    margin-bottom: 35px;
}

/*---------------------------------------- Container About End -------------------------------------------------------------------------------------------*/


/*---------------------------------------- services Start -------------------------------------------------------------------------------------------*/
                                 
.services{
    border: #5d95ff;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 1rem;
}


.services-left h2{
    margin: 22px 0;
    font-size: var(--h2-font);
}



.services-left h2 span{
    background: -webkit-linear-gradient(135deg, #ADD7F6 0%,#DDDBF1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-left p {
    font-size: 15px;
    font-weight: 500;
    line-height: 33px;
    color: var(--ann-color);
    margin-bottom: 35px;
}

.services-left b {
    font-size: 20px;
    font-weight: 500;
    line-height: 33px;
    background: -webkit-linear-gradient(135deg, #ADD7F6 0%,#DDDBF1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 35px;
}

.services-right{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, auto));
    align-items: center;
    gap: 2rem;
}

.box{
    display: grid;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    padding: 10px 20px;
    background: var(--second-color);
    border-radius: 0.5rem;
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(135deg, #141E30 0%, #243B55 100% ); 
    border-image-slice: 1;
    transition: all .7s ease;
    cursor: pointer;
}


.box-icon i{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 60px;
    background: linear-gradient(135deg,#243B55 0%, #141E30 100%);
    color: #F9F7F3;
    border-radius: 1.7rem;
    font-size: 30px;
    transition: all .6s ease;
}

.box-icon i:hover {
    transform: scale(1.1) translate3d(9px, 0px, 0px);
}

.box-text h5{
    font-size: 25px;
    margin-bottom: 8px;
}

.box-text h5{
     font-size: var(--p-font);
     font-weight: 500;
     line-height: 33px;
     color: var(--ann-color);
}

.box:hover{
    transform: translateY(-7px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(135deg,#243B55 0%, #141E30 100%);
    border-image-slice: 1;
}

/*---------------------------------------- services End -------------------------------------------------------------------------------------------*/

/*---------------------------------------- Slider Software Start -------------------------------------------------------------------------------------------*/
                                    

.partners {
    padding: 500px;
    text-align: center;
    padding: 10px;
    font-size: var(--h2-font);
}

.partners span{
    background: -webkit-linear-gradient(135deg, #ADD7F6 0%,#DDDBF1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.slider {
    
    display: flex;
    overflow: hidden;
    position: relative;
    background: var(--main-color);
    margin-bottom: -50px;
    padding: -50px;
}

.slides {
    display: flex;
    animation: slide 120s linear infinite;
}

.slides img {
    width: 80px;
    margin: auto;
    transition: all .5s ease;
}

.slides img :hover {
    transform: translateY(-20px) rotate(10deg) scale(1.1);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
    
}


/*---------------------------------------- Slider Software End -------------------------------------------------------------------------------------------*/

/*---------------------------------------- portfolio Start -------------------------------------------------------------------------------------------*/
                                            
.portfolio {
    background: var(--second-color);
}
                                    
.mid-text h2 {
    margin-top: 22px;
    font-size: var(--h2-font);
}
                                    
.mid-text h2 span {
    background: -webkit-linear-gradient(135deg, #ADD7F6 0%, #DDDBF1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
                                    
.portfolio-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, auto));
    align-items: center;
    gap: 2rem;
    margin-top: 5rem;
}
                                    
.row-img {
    overflow: hidden;
    border-radius: 1.7rem;
}
                                    
.row-img img, .row-img video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
    cursor: pointer;
}
                                    
.row-img img:hover, .row-img video:hover {
    transform: scale(1.1);
}
                                    
.row {
    background: var(--bg-color);
    border-radius: 1.7rem;
    padding: 0;
    transition: all 0.7s ease;
}
                                    
.row-in {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 25px;
}
                                    
.row-left h3 {
    font-size: 25px;
    margin-bottom: 8px;
}
                                    
.row-left h6 {
    font-size: 14px;
    color: var(--ann-color);
}
                                    
.row-right a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    background: linear-gradient(135deg, #12104e 0%, #5d95ff 100%);
    color: #DDDBF1;
    border-radius: 1.7rem;
    font-size: 22px;
    transition: all 0.7s ease;
}
                                    
.row-right a:hover {
    transform: scale(1.06) rotate3d(0, 0, 1, 360deg);
}
/*---------------------------------------- portfolio End -------------------------------------------------------------------------------------------*/


/*---------------------------------------- Video popup Start  -------------------------------------------------------------------------------------------*/
                                    
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}
                                    
.modal-content {
    position: relative;
    background: #202020;
    padding: 20px;
    border-radius: 8px;
    max-width: 80%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
                                    
.modal-content video {
    width: 100%;
    border-radius: 8px;
}
                                    
.close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 24px;
    color: #000;
    cursor: pointer;
}
                                    
.close:hover {
    color: #ff0000;
}




/*--------------------------------------------- Video popup End  -------------------------------------------------------------------------------------------*/

             
/*--------------------------------------------Contact Start  ----------------------------------------------------------------------------------------*/

.contact{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    gap: 2rem;
}

.contact-main h2{
    margin: 32px 0;
    font-size: var(--h2-font);
}

.contact-main h2 span{
    background: -webkit-linear-gradient(135deg, #ADD7F6 0%,#DDDBF1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.email{
    margin-bottom: 22px;
}

.email p{
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--ann-color);
}

.email h6{
    font-size: 22px;
    font-weight: 600;
}


.num{
    margin-bottom: 40px;
}

.num p{
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--ann-color);
}

.num h6{
    font-size: 22px;
    font-weight: 600;
}

.contact-form{
    width: 100%;
    max-width: 600px;
    display: grid;
    gap: 1.2rem;
}

.contact-form input,.ontact-form, textarea { 
    border: none;
    outline: none;
    padding: 17px;
    font-size: 0.9rem;
    background: var(--second-color);
    color: var(--text-color);
    border-radius: 0.6rem;
}


form input::placeholder,
form textarea::placeholder{
    color: var(--ann-color);
    font-size: 15px;
}

form .submit-btn{
    display: inline-block;
    padding: 18px 25px;
    background: linear-gradient(135deg, #ADD7F6 0%,#DDDBF1 100%);
    color: var(--bg-color);
    font-size: 17px;
    font-weight: 500;
    border-radius: 17px;
    width: 30%;
    cursor: pointer;
    transition: all .7s ease;
}

form .submit-btn:hover{
    transform: scale(1.1) translate3d(8px, 0px, 0px);
}
              
/*----------------------------------------  Contact End   -------------------------------------------------------------------------------------------*/

/*---------------------------------------- Footer Start   -------------------------------------------------------------------------------------------*/
                         
.footer{
    padding: 20px 14%;
    background: var(--second-color);
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
     
.copyright{
    font-size: 15px;
    font-weight: 400;
    color: var(--ann-color);

}

.scroll-top i {
    display: inline-block;
    align-items: center;
    justify-content: center;
    height: auto;
    width: auto;
    background: linear-gradient(135deg,#12104e 0%, #5d95ff 100%);
    color: var(--bg-color);
    border-radius: 25px;
    font-size: 50px;
    transition: all .6s ease-in-out;

}

.scroll-top i:hover{
    transform: scale(1.06) rotate3d(0, 0, 1, 360deg);
}


/*---------------------------------------- Footer End   -------------------------------------------------------------------------------------------*/





.Hikayat-masdjid{
    background:  var(--second-color);
}

.mid-text h2{
    margin-top: 22px;
    font-size: var(--h2-font);
}

.mid-text h2 span{
    background: -webkit-linear-gradient(135deg, #ADD7F6 0%,#DDDBF1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



.Hikayat-masdjid-content{
    display: grid;
    grid-template-columns: repeat(3, 1fr);;
    align-items: center;
    gap: 2rem;
    margin-top: 5rem;
    display: inline block;
   
}

.row-img{
    overflow: hidden;
    border-radius: 1.7rem;
}


.row-img img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
    cursor: pointer;
}

.row-img img:hover{
    transform: scale(1.1);
}

.row-img video{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
    cursor: pointer;
}


.row-img video:hover{
    transform: scale(1.1);
}

.row{
    background: var(--bg-color);
    border-radius: 1.7rem;
    padding: 0px;
    transition: all .7s ease;
}

.row-in {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin: 25px;
}

.row-left h3 {
    font-size: 25px;
    margin-bottom: 8px;
}

.row-left h6 {
    font-size: 14px;
    color: var(--ann-color);
}

.row-right a{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    background: linear-gradient(135deg,#12104e 0%, #5d95ff 100%);
    color: #DDDBF1;
    border-radius: 1.7rem;
    font-size: 22px;
    transition: all .7s ease;
}


.row-right a:hover{
    transform: scale(1.06) rotate3d(0, 0, 1, 360deg);
}




@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.row {
    opacity: 0; 
    animation: fadeIn 0.5s forwards; 
}

.row:nth-child(1) { animation-delay: 0.1s; }
.row:nth-child(2) { animation-delay: 0.2s; }
.row:nth-child(3) { animation-delay: 0.3s; }
.row:nth-child(4) { animation-delay: 0.4s; }
.row:nth-child(5) { animation-delay: 0.5s; }
.row:nth-child(6) { animation-delay: 0.6s; }
.row:nth-child(7) { animation-delay: 0.7s; }
.row:nth-child(8) { animation-delay: 0.8s; }
.row:nth-child(9) { animation-delay: 0.9s; }
.row:nth-child(10) { animation-delay: 1s; }
.row:nth-child(11) { animation-delay: 1.1s; }
.row:nth-child(12) { animation-delay: 1.2s; }
.row:nth-child(13) { animation-delay: 1.3s; }
.row:nth-child(14) { animation-delay: 1.4s; }
.row:nth-child(15) { animation-delay: 1.5s; }



.background-video-01 {
    margin-top: 30px;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 95%; 
    height: auto; 
    max-height: 80%; 
    z-index: -1; 
    transform: translate(-50%, -50%);
    object-fit: cover;
    border: 5px solid transparent; 
    border-radius: 10px; 
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    color: white;
}

.play-pause-btn {
    background-color: rgba(0, 0, 0, 0.0);
    color: #ADD7F6;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 50px;
    margin-bottom: 20px;
    transition: opacity 0.5s ease;
    opacity: 1; 
}

.flex-container {
    margin-top: 150px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    background-color: var(--second-color);
    padding: 100px;
    gap: 30px; 
    justify-content: center;
    transition: all 0.6s ease-in-out;
  }
  
  .box-container {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.6s ease-in-out;
  }
  
  .box-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    transition: all 0.6s ease-in-out;
  }
  
  .box-image:hover {
    transform: scale(1.05);
    transition: transform 0.5s ease;
  }
   
  .content-01 {
    position: absolute;
    z-index: 2;
    color: white;
    padding: 20px;
    max-width: 400px;
    transition: all 0.6s ease-in-out;
  }
  
  .title {
    font-size: 2rem;
    font-weight: bold;
    opacity: 0;
    transform: translateX(-50%);
    transition: all 0.5s ease;
  }
  
  .paragraph {
    font-size: 1rem;
    margin: 10px 0;
    opacity: 0;
    transform: translateX(-50%);
    transition: all 0.5s ease;
  }
  

  .button {
      display: inline-flex;
      padding: 18px 35px;
      background: linear-gradient(135deg, #141E30 0%, #243B55 100% );
      border: 1px solid var(--alt-color);
      color: #DDDBF1;
      font-size: 18px;
      font-weight: 300;
      border-radius: 17px;
      margin-right: 20px;
      transform: translateX(-120%);
      transition: all 0.5s ease;
  }
  
  .box-container:hover .title,
  .box-container:hover .paragraph,
  .box-container:hover .button {
    opacity: 1;
    transform: translateX(0);
    transition: all 0.6s ease-in-out;
  }
  .slide-box {
    margin-top: 200px;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.slide-box img {
    width: 20%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid rgba(255, 13, 0, 0);
    transition: all  0.5s ease;
}

.slide-box img:hover {
    width: 25%;
}





  @media (max-width: 768px) {

    .container-about {
      flex-direction: column; 
      height: 748px;
      
    }

    .content-section-about {
      padding: 10px;
    }

    .content-section-about h2 {
      font-size: 24px;
      margin-bottom: 15px;
    }

    .content-section-about p {
      font-size: 16px;
    }

    .image-section-about img {
      object-fit: cover; 
      height: auto; 
    }
    .image-section-about::after {
   
    background: linear-gradient(to top, rgba(28, 40, 51, 1), rgba(0, 0, 0, 0));
  }
  }

  
  
/*------------------ mobile mode -----------------*/


@media(max-width: 1580px){
    header{
        padding: 15px 6%;
    }
    header.sticky{
        padding: 3px 6%;
    }
    section{
        padding: 100px 6% 80px;
    }
    .footer{
        padding: 15px 6%;
    }
}

@media(max-width: 1300px){
    header{
        padding: 15px 3%;
    }
    header.sticky{
        padding: 3px 3%;
    }
    section{
        padding: 100px 3% 80px;
    }
    .footer{
        padding: 15px 3%;
    }
    :root{
        --h1-font: 3.5rem;
        --h2-font: 1.5rem;
        --p-font: 1.0rem;
    }
} 


@media(max-width: 1200px){
    .about{
        margin-top: -10rem;

        grid-template-columns: 1fr;
    }
    .about-img{
        text-align: center;
    }

    .about-img img{
        text-align: center;
        width: 100%;
        height: 580px;
        max-width: 450px;
        border-radius: 20%;
        object-fit: cover;
        margin: 0 auto;
    }
    
    .services{
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .services-right{
        grid-template-columns: repeat(auto-fit, minmax(300px, auto));
    }

    .box{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
    }
     .portfolio-content{
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        align-items: center;
     }
     .contact{
        grid-template-columns: 1fr; 
        gap: 10px;
     }

     .contact-form {
        width: 100%;
        max-width: 100%;
     }
}

@media(max-width: 1000px){
    .Logo img{
        max-width: 35px;
    }
    .menulist a{
        margin: 0 20px;
        font-size: 17px;
    }
    .menu-btn{
        padding: 14px 22px;
        font-size: 15px; 
    }

    .btn1{
        padding: 14px 22px;
        font-size: 10px; 
    }

    .btn2{
        padding: 14px 22px;
        font-size: 10px; 
    }
}


@media(max-width: 900px){
    :root{
        --h1-font: 3rem;
        --h2-font: 2.2rem;
    }

@media(max-width: 800px)
{
    .menulist{
        position: absolute;
        width: 100%;
        height: 100vh;
        padding: 70px 50px;
        top: 0;
        right: 0;
        left: 100%;
        display: flex;
        flex-direction: column;
        background: #000;
        transition: all .6s ease-in-out;
    }
}
    
    .menulist a{
        display: block;
        padding: 0;
        margin: 0px 0px 25px 0px;
        font-size: 1.7rem;
    }

    .menulist.open{
        left: 0;

    }

} 
@media (max-width: 768px) {
    .background-video- {
        max-height: 50%; 
        width: 100%;
        margin-top: 23px;
        border-radius: 5px; 
    }
    
   .background-video{
    width: 100%;
 
   }

    .video-just-play {
        height: 19vh; 
        margin-top:-200px;
    }

    .background-video- video {
        position: absolute;
        top: 93px;
        left: -3px;
        width: 50%;
        height: 10%;
        object-fit: cover;
    }
    .modal-content {
        position: relative;
        align-items: center;
        margin: 5% auto;
        padding: 10px;
        width: 95%; 
       
    }

    .close {
        font-size: 22px; 
    }

    .Hikayat-masdjid-content {
        grid-template-columns: 1fr; 
        gap: 1rem; 
        margin-top: 2rem; 
    }

    .row-in {
        flex-wrap: wrap; 
        gap: 10px; 
        margin: 15px; 
    }

    .row-left h3 {
        font-size: 20px; 
    }

    .row-left h6 {
        font-size: 12px; 
    }

    .row-right a {
        height: 40px; 
        width: 40px;
        font-size: 18px; 
    }
    .flex-container {
        grid-template-columns: 1fr; 
        padding: 20px; 
        gap: 15px; 
      }
    
      .box-container {
        width: 100%; 
        height: auto; 
      }
    
      .title {
        font-size: 1.5rem;
      }
    
      .paragraph {
        font-size: 0.875rem; 
      }
    
      .button {
        padding: 12px 25px; 
        font-size: 16px; 
      }

      .slider-container {
        max-width: 100%;
      }

      .prev, .next {
        padding: 8px;
        font-size: 16px;
      }

        .background-video-desktop {
            display: none;
        }
        .background-video-mobile {
            display: block;
            top: 234px;
            
        }
        .home-text{
            margin-bottom: -10rem;

        }      

        .slider-container {
            max-width: 100%;
            max-height: 100%;
            aspect-ratio: 9 / 16;
            
        }
    
        #slides img {
            inline-size: 100px;
            width: 150%;
            height: 100%;
            object-fit: cover;
            width: 2000px;
        }
    
        
        .prev, .next {
            font-size: 18px;
            padding: 8px;
        }  
    }
    
    


@media (max-width: 590px){
    :root{
        --h1-font:1.5rem;
        --h2-font:1.2rem;
    }
    .about-img{
        text-align: center;
        width: 100%;
        height: 500px;
        max-width: 380px;
        border-radius: 20%;
        object-fit: cover;
        margin: 0 auto;
        
    }
    form .submit-btn{
        padding: 15px 27px;
        width: 40%;
        font-size: 13px;

    }
    .about-img img{
        text-align: center;
        width: 100%;
        height: 500px;
        max-width: 380px;
        border-radius: 20%;
        object-fit: cover;
        margin: 0 auto;
    }
}





@media (max-width: 1024px) {
    .menulist {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 100%; 
        background-color: #fff;
        width: 100%;
        height: 100vh;
        padding: 70px 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.6s ease-in-out;
    }

    .menulist.open {
        left: 0; 
    }
}

@media (max-width: 900px) {
    .menulist {
        background: var(--second-color); 
    }
}

@media (max-width: 800px) {
    .menulist {
        width: 100%; 
    }
}

  